package com.example.yigoumall.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class News {
    private Integer id;
    private String title;
    private String content;
    private LocalDateTime createTime;
    
    // 手动添加setId方法确保Lombok生效
    public void setId(Integer id) {
        this.id = id;
    }
}